package com.xiaochun.jiankangapp.model

import android.os.Parcelable
import com.google.gson.annotations.SerializedName
import kotlinx.parcelize.Parcelize

@Parcelize
data class UserInfo(
    @SerializedName("userInfo", alternate = ["userinfo"])
    var userinfo: UserinfoBean? = null,
    var grade_text: String? = null,
    var countLianZi: Int = 0,
    var couponsNum: Int = 0,
) : Parcelable

@Parcelize
data class UserinfoBean(
    var avatar: String? = "",
    var createtime: Int = 0,
    var expires_in: Int = 0,
    var expiretime: Int = 0,
    var id: Int = 0,
    var group_id: String? = null,
    var nickname: String? = "",
    var score: Int = 0,
    var token: String? = "",
    var user_id: Int = 0,
    var username: String? = "",
    @SerializedName("mobile")
    val phone: String? = ""
) : Parcelable